home *** CD-ROM | disk | FTP | other *** search
/ Safarir 3 / SafTV-CD3.iso / pc / Bonus / Dessins Animés / static / jeux / teletub.swf / scripts / DefineButton2_275 / BUTTONCONDACTION on(press, keyPress 3).as
Text File  |  2001-11-21  |  731b  |  29 lines

  1. on(press, keyPress "3"){
  2.    set("/:Weapon","3");
  3.    setProperty("/Weapon3", _visible, "1");
  4.    setProperty("/Weapon2", _visible, "0");
  5.    setProperty("/Weapon1", _visible, "0");
  6.    tellTarget("/Weapon2")
  7.    {
  8.       gotoAndStop("Hide");
  9.       tellTarget("/Weapon1")
  10.       {
  11.          gotoAndStop("Hide");
  12.          tellTarget("/Sounds")
  13.          {
  14.             gotoAndStop("WeaponChange");
  15.             tellTarget("/Weapon3")
  16.             {
  17.                gotoAndStop(1);
  18.             }
  19.             startDrag("/Cursor","1","40","100","600","260");
  20.             tellTarget("/Sounds")
  21.             {
  22.                gotoAndStop("Chainsaw_NormalStop");
  23.                play();
  24.             }
  25.          }
  26.       }
  27.    }
  28. }
  29.